/*
 * @Descripttion:
 * @version:
 * @Author: 穆宏宇
 * @Date: 2020-11-09 14:29:03
 * @LastEditors: 穆宏宇
 * @LastEditTime: 2020-11-13 16:34:37
 */
export const formOptions = [
  {
    label: '查询时间',
    type: 'datetimerange',
    key: 'time',
    span: 12
  },
  {
    label: '所属单位',
    type: 'input',
    key: 'purchaseName',
    span: 6
  },
  {
    label: '订单编号',
    type: 'input',
    key: 'orderNo',
    span: 6
  },
  {
    label: '电商订单编号',
    type: 'input',
    key: 'eshopNumber',
    span: 6
  },
  {
    label: '订单名称',
    type: 'input',
    key: 'orderName',
    span: 6
  },
  {
    label: '收货人',
    type: 'input',
    key: 'consignee',
    span: 6
  },
  {
    label: '订单状态',
    type: 'select',
    key: 'orderState',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: []
  },
  {
    label: '发票类型',
    type: 'select',
    key: 'receiptType',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: []
  },
  {
    label: '所属区域',
    type: 'select',
    key: 'payment',
    span: 6,
    props: {
      placeholder: '请选择'
    },
    options: []
  }
]

export const btns = [
  {
    title: '同步订单状态',
    icon: 'sort',
    event: 'on-sync',
    props: {
      type: 'warning'
    }
  },
  {
    title: '导出订单',
    icon: 'download',
    event: 'on-import',
    props: {
      type: 'warning'
    }
  },
  // {
  //   title: '导出订单',
  //   icon: 'download',
  //   event: 'on-import',
  //   props: {
  //     type: 'warning'
  //   }
  // },
  // {
  //   title: '自定义',
  //   event: 'on-other'
  // }
]
